package com.cskaoyan.mall.mapper;

import com.cskaoyan.mall.bean.GoodsAttribute;
import com.cskaoyan.mall.bean.bo.GoodsAttributesBO;
import com.cskaoyan.mall.bean.bo.GoodsCreateBO;
import com.cskaoyan.mall.bean.vo.GoodsAttributesVO;

import java.util.List;

public interface GoodsAttributeMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(GoodsAttribute record);

    int insertSelective(GoodsAttribute record);

    GoodsAttribute selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(GoodsAttribute record);

    int updateByPrimaryKey(GoodsAttribute record);

    List<GoodsAttributesVO> selectGoodsAttributeByGoodsId(Integer id);

    int updateByGoodsAttributeBOSeletive(GoodsAttributesBO attributesBO);

    int insertCreateGoodsAttr(GoodsCreateBO.GoodsAttrLite4CreateBO attrLite4CreateBO);
}
